<include file="Public:header" /><style>.header{display:none;}
	.w790{margin-top:0px;}</style>
<div class="container main"> 



<script>
    function getTotal(){
		var data = new Array();
		$("input[name='copydata[]']").each(function(index, element) {
            if($(this).prop('checked') == true){
			    data.push($(this).val());
		    }
        });
		$.get('{:U('copySite')}', {copydata : data, id : $('#siteid_').val()}, function(data){
			window.parent.setTotal(data);
			$('.checkoutform1').submit();
		}, 'html');
	}
</script>



<form class="checkoutform1 form-horizontal" action="" method="post">
 <input type="hidden" id="siteid_" name="id" value="{$Think.get.id}">
<div class="form-group">
      <label class="col-sm-2 control-label">选择数据</label>
      <div class="col-sm-10">
      
         <label class="checkbox-inline"> <input value="Pages" type="checkbox" name="copydata[]" />
          布局</label>
          <label class="checkbox-inline"> <input value="Category" type="checkbox" name="copydata[]" />
          栏目</label>
          <label class="checkbox-inline"> <input value="News" type="checkbox" name="copydata[]" />
          文章</label>
          <label class="checkbox-inline"> <input value="Product_category" type="checkbox" name="copydata[]" />
          商品分类</label>
         <label class="checkbox-inline"> <input value="Product" type="checkbox" name="copydata[]" />
          商品</label>
         <label class="checkbox-inline"> <input value="Intesys" type="checkbox" name="copydata[]" />
          积分管理系统</label>
      </div>
      </div>
</form>
<a onClick="getTotal();" class="btn btn-success">确定复制</a>
  <div class="clear"></div>
</div>
</body></html>